<?php

class PXFConfig 
{
	/* Database connection */
	const DB_HOST = 'localhost';
	const DB_DB	= 'el000301_websitegear';
	const DB_USER = 'el000301';
	const DB_PASS	= 'rtw37j8';
	const DB_INSPECTOR_CACHE = false;
	const NOBODY_USER = 1; 

  /* FS. Paths */
	/*
	*/

  // const HOSTNAME = 'www.websitegear.com.ar/site';
  const HOSTNAME = 'websitegear/websitegear';
  const REQUEST_URI = '/site';
  const PXF_SITE   = '../';
  const SMARTY_DIR = 'smarty/';

	/* Defaults */
	const DEFAULT_CONTROLLER = 'home'; 		
	const DEFAULT_LANG = 'es';
	const DEFAULT_CATEGORY = 1;
	const DEFAULT_IMAGE = 1;
	const DEFAULT_PAGE = 'home';
	const DEFAULT_REGISTER_PROFILE = '2';

	const PRODUCTS_PER_PAGE = 50;
	const PXF_COLLECT_LANGS = true;
	const DISPLAY_DATE = 'd/m/Y';
	const AUTO_PUBLISH_COMMENTS = 1;
	const VISIBILITY_PUBLIC = 5;

	const MSG_ERROR = 'flash_error';
	const MSG_INFO  = 'flash_info';
	const MSG_OK    = 'flash_ok';
        
	/* Links && General */
	public static $site =
		array(
			'site_title' => 'websitegear',
			'page_title' => 'sitios web din&aacute;micos',
		);

	public static $navlinks = 
		array(
			array('title' => 'Inicio','controller' => 'home', 'action' => 'view'),
			array('title' => 'La Empresa','controller' => 'pages', 'action' => 'view', 'args' => array('item' => 'aboutus')),
			array('title' => 'Servicios', 'controller' => 'products', 'action' => 'lists'),
		// 	array('title' => 'Noticias', 'controller' => 'posts', 'action' => 'lists'),
			array('title' => 'Cont&aacute;ctenos', 'controller' => 'contacts', 'action' => 'form'),
		);

	public static $languages = 
		array(
			'es' => 'Espa&ntilde;ol',
			'en' => 'Ingles',
		);
}
?>
